<!DOCTYPE html>
<html>
   <head>
      <title>SiGE</title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <?=$this->headMeta(); ?>
      <?
         $this->headLink()->appendStylesheet($this->baseUrl('css/jquery.mobile-1.3.0.css'))
                          ->appendStylesheet($this->baseUrl('css/font-awesome.min.css'))
                          ->appendStylesheet($this->baseUrl('css/font-awesome-ie7.min.css'))
                          ->appendStylesheet($this->baseUrl('css/mobile/mobile.css'))
                          ->appendStylesheet($this->baseUrl('css/flash-messages.css'));
      ?>
      
      <?= $this->headLink() ?>
   </head>
   <body>
      <div data-role="page" class="sige-page">
         <div data-role="panel" data-display="overlay" id="panel-menu" data-theme="a">
            <div data-role="controlgroup">
               <? if (isset($this->menu)) {
                  echo $this->menu->getView();
               } ?>
            </div>
            <a href="#panel-menu" class="" data-rel="close" data-role="button">
               <i class="icon-remove"></i> Fechar
            </a>
         </div><!-- /panel -->

         <!-- header -->
         <div data-role="header" data-theme="c">
            <a href="#panel-menu" data-role="button"><i class="icon-align-justify"></i> Menu</a>
            <h1>SiGE - COMSOLiD</h1>
         </div>
         <!-- content -->
         <div data-role="content">
            <div><?= $this->flashMessages(); ?></div>
            <?php echo $this->layout()->content ?>
         </div>
         
         <!-- footer -->
         <div data-role="footer" data-position="fixed">
            <h1>COMSOLiD <?=date('Y') ?></h1>
         </div>

      </div><!-- page -->
      <?
         $this->headScript()->prependFile($this->baseUrl('js/mobile/geral.js'))
                 ->prependFile($this->baseUrl('js/jquery.mobile-1.3.0.min.js'))
                 ->prependFile($this->baseUrl('js/jquery-1.8.3.min.js'));
      ?>
      <?= $this->headScript() ?>
   </body>
</html>